package com.tang.common.enums;

/**
 * 用于枚举在网关增加的请求头名和添加到线程上下文key
 *
 * @author Tang
 * @date 2024/2/20 18:13
 **/
public enum HeaderAndContextNameEnum {
    LOGIN_ID("loginId","用户唯一标识，该名称用于请求头和线程上下文")
    ;
    private final String name;
    private final String desc;

    HeaderAndContextNameEnum(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public String getDesc() {
        return desc;
    }
}
